package com.xms.security.service.sitemap;

import com.xms.security.entity.Privilege;

import java.util.HashMap;
import java.util.List;
import java.util.UUID;

/**
 * <p>
 * IPrivilegeTreeBuilder
 * </p>
 *
 * @author migo
 * @since 2021/9/9
 */
public interface IPrivilegeTreeBuilder
{
    String build(Boolean onlyVisibled);

    List<HashMap<String, Object>> build(List<Privilege> privilegeList, UUID parentId);

    List<Privilege> getTreePath(String url);

    List<Privilege> getTreePath(String areaName, String className, String methodName);
}
